<?php
/**
 *
 */
namespace Yz\modules\Modules;

class Model_Default
    extends \Yz_Model_ActiveRecord
{


    /** Model's fields definition
     */
    protected function init()
    {
        debug();
        parent::init();
        $d =& $this->__dict__;
        $d['id']         = new \Yz_Property_Id();
        $d['name']       = new \Yz_Property_String();
        $d['actions']    = new \Yz_Property_OneToMany($this->selectModel('Action'));
        //$d['title']      = new \Yz_Property_String();
        return $this;
    }


}
